service
( service in module AUTO
)
A short hand for registering service of given class.
name – {string} –
The name of the instance.
constructor – {Function} –
A class (constructor function) that will be instantiated.
{Object}
– registered provider instance